﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using AssessmentTool.Controls;
using AssessmentTool.Services.DTO;
using AssessmentTool.PresentationLogic.EventArguments;

namespace AssessmentTool.PresentationLogic.Controllers
{
    public class ProfiloButtonController:AbstractController<ProfiloButton>
    {
        private ProfiliDTO profilo;
        
        public ProfiloButtonController(ProfiloButton element)
            : base(element)
        { 
            
        }
        public void initWithProfilo(ProfiliDTO profilo)
        {
            this.profilo = profilo;
           
        }

        public void onProfiloPressed()
        {
            ed.dispatch("CARICARADAR", new RadarEventArgs() { profilo = this.profilo });
        }

    }
}
